﻿<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=no">
    <meta name="format-detection" content="telephone=no,email=no">
    <title>我的帖子</title>
    <!-- 基础css begin -->
    <link type="text/css" rel="stylesheet" href="/static/pkg/core.css">
    <!-- 基础css end -->
    <!-- 公用css begin -->
    <link type="text/css" rel="stylesheet" href="/static/pkg/combine.css?ver=20150629">
    <!-- 公用css end -->
</head>
<body id="list">
    <img id="background-image" class="background-full" src="/static/benzbbs/images/bg.jpg" />
    <div id="wrapper">
        <header class="margin-bottom-0">
            <ul class="tabs cfix">
                <li><a href="/bbs/benz/userarticles" class="tab">已审核</a></li>
                <li><a href="/bbs/benz/userarticles?isrelease=0" class="tab">未审核</a></li>
            </ul>
            <div class="line"></div>
        </header>
        <div id="content" style="padding: 0 20px;">
            <section>
                <ul class="thread-list">
                    <!--<li>
                        <div class="margin-bottom-20">梅赛德斯-奔驰，让梦想照进现实</div>
                        <div class="cfix">
                            <div class="font-size-14 float-left">2015-02-12</div>
                            <div class="action-counts">
                                <i class="icon-praise"><span class="count">0</span></i>
                                <i class="icon-view"><span class="count">0</span></i>
                                <i class="icon-comment"><span class="count">0</span></i>
                            </div>
                        </div>
                    </li>-->
                </ul>
                <button id="btnMoreThread" type="button" class="button width-full margin-top-20" style="display: none;">更多</button>
            </section>
        </div>
    </div>
    <!-- 组件依赖js begin -->
    <script src="/static/global/gmu/dist/zepto.js"></script>
    <script src="/static/global/gmu/src/extend/selector.js"></script>
    <script src="/static/global/gmu/src/extend/compatibleIE9.js"></script>
    <!-- 组件依赖js end -->
    <!-- 公用js begin -->
    <script src="/static/benzbbs/js/script.js?v=20150713"></script>
    <!-- 公用js begin -->
    <script type="text/javascript">
        var params = utility.getQueryString();
        var pageIndex = 1;
        //var PageKey = "UserArticles";
        var isRelease = params["isrelease"] ? params["isrelease"] : 1;

        Zepto(function ($) {

            BindHeader();
            BindList({ firstTime: true, record: true });

            $("#btnMoreThread").click(function () {
                BindList();
            });

            function BindList(options) {
                BindArticles("/bbs/benz/userarticlelistjson?isrelease=" + isRelease + "&pageIndex=" + pageIndex, options);
            }
        })

        function BindHeader() {
            if (isRelease == 1) {
                $('.tabs a:first').addClass('active');
            } else {
                $('.tabs a:last').addClass('active');
            }
        }
    </script>
</body>
</html>